package com.hut.bms.service;

import com.hut.bms.mapper.BookInfoMapper;
import com.hut.bms.model.BookInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UpdateBookService {
     @Autowired
    private BookInfoMapper bookInfoMapper;
     public Integer updateBookInfo(BookInfo bookInfo) {
         return bookInfoMapper.updateBookInfo(bookInfo);
     }
}
